-
-
Notifications
You must be signed in to change notification settings - Fork 78.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disabled custom checkbox and radio background colors #25213
Conversation
… inputs and radios that are disabled added styles for these cases
Thanks for this! In my testing, this needs a couple more tweaks that I have in a local branch. Will push an update with that later tonight hopefully. |
awesome, wonder what i missed :) |
This builds on #25213 by ensuring that custom check states don't override the default background-color each time. I've added a new gradient mixin that only includes a conditional gradient instead of a background-color fallback. Without this, the styles added in @gijsbotje's PR would still be overridden.
I don't remember merging this... 🤔 |
wasn't me :D |
@gijsbotje Haha, all good. I have a big explanation for what I had to do in addition to this PR, but it boils down to the following:
There may've been a few more things. My first pass is at https://github.com/twbs/bootstrap/compare/disabled-custom-checks, but I think I have more on my other laptop at home. |
yeah sounds like a better idea to do this form |
Fixes #25201 by adding a variable for the background color of this state and adding the styles
Maybe setting the color with rgba is not the right way so i'm open for suggestions on that